package live.jipiao.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;


public class AirData implements Serializable {
	
	private static final long serialVersionUID = -5973088401504441745L;
	private String distance;		//公里数
	private String fullFare;		//全价ȫ��
	public FlightItem getFlightItem() {
		return new FlightItem();
	}
	private List<FlightItem> flightList;	//航班集合
	public String getDistance() {
		return distance;
	}
	public void setDistance(String distance) {
		this.distance = distance;
	}

	public String getFullFare() {
		return fullFare;
	}

	public void setFullFare(String fullFare) {
		this.fullFare = fullFare;
	}

	public List<FlightItem> getFlightList() {
		return flightList;
	}
	public void setFlightList(List<FlightItem> flightList) {
		this.flightList = flightList;
	}
	/**
	 * 
	 * @author Administrator
	 *
	 */
	public class FlightItem implements Serializable{
		
		private static final long serialVersionUID = -9175624345631926708L;
		private String stop;		//�Ƿ�ͣ[0:��1:��]
		private String tax;			//����
		private String yq;			//ȼ��
		private String flightNo;	//�����
		private Date depTime;		//���ʱ��
		private Date arrTime;		//����ʱ��
		private String scity;		//��ɻ�
		private String scityName;	//��ɻ����
		private String ecity;		//�����
		private String ecityName;	//��������
		private String aircom;		//���չ�˾
		private String aircomName;	//���չ�˾���
		private String isShare;		//�Ƿ��?��[0:��1:��]
		private String model;		//����
		private CabinItem cabinInfo;	//��λ��Ϣ
		private List<CabinItem> cabinList;	//��λ����
		
		public CabinItem getCabinItem(){
			return new CabinItem();
		}
		
		public CabinItem getCabinInfo() {
			return cabinInfo;
		}

		public void setCabinInfo(CabinItem cabinInfo) {
			this.cabinInfo = cabinInfo;
		}

		public String getStop() {
			return stop;
		}
		public void setStop(String stop) {
			this.stop = stop;
		}
		public String getTax() {
			return tax;
		}
		public void setTax(String tax) {
			this.tax = tax;
		}
		public String getYq() {
			return yq;
		}
		public void setYq(String yq) {
			this.yq = yq;
		}
		public String getFlightNo() {
			return flightNo;
		}
		public void setFlightNo(String flightNo) {
			this.flightNo = flightNo;
		}
		public Date getDepTime() {
			return depTime;
		}
		public void setDepTime(Date depTime) {
			this.depTime = depTime;
		}

		public Date getArrTime() {
			return arrTime;
		}

		public void setArrTime(Date arrTime) {
			this.arrTime = arrTime;
		}

		public String getScity() {
			return scity;
		}

		public void setScity(String scity) {
			this.scity = scity;
		}

		public String getScityName() {
			return scityName;
		}

		public void setScityName(String scityName) {
			this.scityName = scityName;
		}

		public String getEcity() {
			return ecity;
		}

		public void setEcity(String ecity) {
			this.ecity = ecity;
		}

		public String getEcityName() {
			return ecityName;
		}

		public void setEcityName(String ecityName) {
			this.ecityName = ecityName;
		}

		public String getAircom() {
			return aircom;
		}

		public void setAircom(String aircom) {
			this.aircom = aircom;
		}

		public String getAircomName() {
			return aircomName;
		}

		public void setAircomName(String aircomName) {
			this.aircomName = aircomName;
		}

		public String getIsShare() {
			return isShare;
		}

		public void setIsShare(String isShare) {
			this.isShare = isShare;
		}

		public String getModel() {
			return model;
		}

		public void setModel(String model) {
			this.model = model;
		}

		public List<CabinItem> getCabinList() {
			return cabinList;
		}

		public void setCabinList(List<CabinItem> cabinList) {
			this.cabinList = cabinList;
		}
		/**
		 * 
		 * @author Administrator
		 *
		 */
		public class CabinItem implements Serializable{
			private static final long serialVersionUID = 2134191905686854698L;
			private String code;		//��λ��
			private String discount;	//�ۿ�
			private String fare;		//Ʊ���
			private String seat;		//ʣ����λ
			private String level;		//�ȼ�
			private RateInfos rate;		//������Ϣ����
			public String getCode() {
				return code;
			}
			public void setCode(String code) {
				this.code = code;
			}
			public String getDiscount() {
				return discount;
			}
			public void setDiscount(String discount) {
				this.discount = discount;
			}
			public String getFare() {
				return fare;
			}
			public void setFare(String fare) {
				this.fare = fare;
			}
			public String getSeat() {
				return seat;
			}
			public void setSeat(String seat) {
				this.seat = seat;
			}
			public String getLevel() {
				return level;
			}
			public void setLevel(String level) {
				this.level = level;
			}
			public RateInfos getRate() {
				return rate;
			}
			public void setRate(RateInfos rate) {
				this.rate = rate;
			}
		}
	}
}

